package cn.t.dto.user;


import cn.t.core.mode.BaseDTO;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;
import java.util.List;

/**
 * @author l
 */
@Data
@JsonIgnoreProperties(value = {"gmtModifiedStart", "gmtModifiedEnd", "gmtCreatedStart", "gmtCreatedEnd"}, allowSetters = true)
public class RoleAssignParticipantRequest extends BaseDTO implements Serializable {

    /**
     * 角色 ID，不可为空
     */
    @Min(value = 1)
    private Long roleId;

    private List<Long> userIds;

}
